<em>import React from 'react'</em>
<em>import { <q>useNavigate</q> } from 'react-router-dom'</em>

<em>export default ( ) =></em> {
	<em>const <s>skip</s> = ( ) =></em> {
		<em>const</em> <u>navigate</u> = <q>useNavigate( )</q>
		<em># push</em>
		<u>navigate(</u><em>'/login'</em><u>)</u>
		<em># replace</em>
		<u>navigate(</u><em>'/login'</em><u>,{ <b>replace:true</b> })</u>
	}
	return (
		<em>&lt;button onClick={ <s>skip</s> }&gt;</em><em>&lt;/button&gt;</em>
	)
}